home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Book Chapters / 11 - Porting / Sample Code / MemAlloc.h < prev    next >
Encoding:
Text File  |  1995-03-28  |  834 b   |  21 lines  |  [TEXT/MMCC]

  1. /************************************************************************************
  2.  *                                                                                                                                                                    *
  3.  *    MemAlloc.h                                                                                                                                            *
  4.  *                                                                                                                                                                    *
  5.  *    ©1995 Douglas Grounds. All Rights Reserved.                                                                            *
  6.  *                                                                                                                                                                    *
  7.  *    This file contains memory allocation functions which are quite handy.                        *
  8.  *                                                                                                                                                                    *
  9.  ************************************************************************************/
  10.  
  11. /*-----------------------------------
  12.  *
  13.  *    Prototypes
  14.  *
  15.  *-----------------------------------*/
  16.  
  17.     Handle maNewHandle (long sizeNeeded, Boolean clear);
  18.     Handle maDisposeHandle (Handle doomedHandle);
  19.     Ptr maNewPtr (long sizeNeeded, Boolean clear);
  20.     Ptr maDisposePtr (Ptr doomedPtr);
  21.